package xyz.riceball.usercore.entity.po;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户角色关联关系表(UserRole)表实体类
 *
 * @author xiaovcloud
 * @since 2022-04-24 20:17:51
 */
@ApiModel("用户角色关联关系")
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_rb_user_role")
public class UserRolePO extends Model<UserRolePO> {

    @ApiModelProperty("主键")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("角色id")
    private String roleId;

}